<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>espeak</Name>
        <Homepage>http://espeak.freedesktop.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3+</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>Software speech synthesizer (text-to-speech)</Summary>
        <Description>espeak produces good quality English speech. It uses a different synthesis method from other open source TTS engines and sounds quite different.</Description>
        <Archive sha1sum="b22c0361885d05e61d98ecedca0a4926ea2fb2ad" type="zip">http://sourceforge.net/projects/espeak/files/espeak/espeak-1.48/espeak-1.48.04-source.zip/download</Archive>
        <AdditionalFiles>
            <AdditionalFile permission="0755" target="compile-voices">compile-voices.sh</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>coreutils</Dependency>
            <Dependency>portaudio-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>espeak-1.23-makefile_nostaticlibs.patch</Patch>
            <Patch>espeak-1.48-gcc-6-fix.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>espeak</Name>
        <RuntimeDependencies>
            <Dependency>portaudio</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/espeak-data</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/man/man1/espeak.1">espeak.1</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>espeak-devel</Name>
        <Summary>Development headers for espeak</Summary>
        <RuntimeDependencies>
            <Dependency release="current">espeak</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-10</Date>
            <Version>1.48.04</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>1.48.04</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.48.04</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-06-01</Date>
            <Version>1.48.04</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>
